projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96ca7fe
)
wayland: Don't assert fail in DND
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Tue, 19 Nov 2013 23:55:26 +0000
(18:55 -0500)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Tue, 19 Nov 2013 23:55:26 +0000
(18:55 -0500)
This needs completion, sure thing, but let's try to just not fall
flat on our face first.
gdk/wayland/gdkdnd-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdnd-wayland.c
b/gdk/wayland/gdkdnd-wayland.c
index feb7beca9aed70fb8d3b39d2c0fd3361bca52600..34ea3cddb574909b24905cb7323665718ece9f3d 100644
(file)
--- a/
gdk/wayland/gdkdnd-wayland.c
+++ b/
gdk/wayland/gdkdnd-wayland.c
@@
-176,6
+176,8
@@
_gdk_wayland_window_drag_begin (GdkWindow *window,
GdkDragContext *context;
context = (GdkDragContext *) g_object_new (GDK_TYPE_WAYLAND_DRAG_CONTEXT, NULL);
+ context->source_window = window;
+ context->is_source = TRUE;
gdk_drag_context_set_device (context, device);